gdk/wayland: Ensure .leave events with active buttons breaks grabs
authorCarlos Garnacho <carlosg@gnome.org>
Tue, 12 May 2020 08:21:35 +0000 (10:21 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Tue, 12 May 2020 12:14:39 +0000 (14:14 +0200)
commitf7d2985f897b5e2353182bc5d9e6361d5cff5a32
treeee8473fa36104cc1752126a87ad4eff7dbd35fcb
parent2bd8124b5d9d5f824744a7e00611a6231acbfd1c
gdk/wayland: Ensure .leave events with active buttons breaks grabs

Instead of silently ending up the grab, make it sure that we emit
a GDK_GRAB_BROKEN event if needed.
gdk/wayland/gdkdevice-wayland.c